﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using DomainModel;
using BL;

namespace SL
{
  public class SLStudent: ISLStudent
  {
    public Tv GetStudent(string id, ref List<string> errors)
    {
      return BLStudent.GetStudent(id, ref errors);
    }

    public void InsertStudent(Tv student, ref List<string> errors)
    {
      BLStudent.InsertStudent(student, ref errors);
    }

    public void DeleteStudent(string id, ref List<string> errors)
    {
      BLStudent.DeleteStudent(id, ref errors);
    }

    public List<Tv> GetStudentList(ref List<string> errors)
    {
      return BLStudent.GetStudentList(ref errors);
    }
  }
}
